package com.food.admin.exception.productsTypeException;


import com.food.admin.exception.foodAdminException;

public class ProductsTypeException extends foodAdminException {
    public ProductsTypeException(Integer code, String message) {
        super(code, message);
    }
    public ProductsTypeException(ProductsTypeExceptionCode productsTypeExceptionCode){
        super(productsTypeExceptionCode.getCode(),productsTypeExceptionCode.getMessage());
    }
}
